
#pragma once

using namespace std;

class CFenwickTree {
public:

	CFenwickTree( vector<int> _data );
	int Sum( int from, int to );
	void Set( int index, int addValue );

private:
	vector<int> data;
};
